# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-readme_renderer
_pkgname=readme_renderer
pkgver=26.0
pkgrel=0
pkgdesc="readme_renderer is a library for rendering README descriptions for Warehouse"
url="https://github.com/pypa/readme_renderer"
arch="noarch"
license="Apache-2.0"
depends="
	python3
	py3-setuptools
	py3-bleach
	py3-docutils
	py3-pygments
	py3-six
	"
checkdepends="py3-pytest py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a5e7cfa47257fd3ceaf417cc814226b5aef6aacf72ffb2eeed3e6affa4a09aa1f6c752a8c4311910c258d090d94f03e3f5c2603819f5dceb37440c9bfd9090ea  readme_renderer-26.0.tar.gz"
